#include "C_GS_FusionEditor.h"


C_GS_FusionEditor::C_GS_FusionEditor()
{
	//gui::C_ListItem *it1 = new gui::C_ListItem(); it1->setText(L"Text 1"); it1->setTextSize(16); it1->setSize(200.0f, 20);
	//gui::C_ListItem *it2 = new gui::C_ListItem(); it2->setText(L"Text 2"); it2->setTextSize(16); it2->setSize(200.0f, 20);
	//gui::C_ListItem *it3 = new gui::C_ListItem(); it3->setText(L"Text 3"); it3->setTextSize(16); it3->setSize(200.0f, 20);
	//gui::C_ListItem *it4 = new gui::C_ListItem(); it4->setText(L"Text 4"); it4->setTextSize(16); it4->setSize(200.0f, 20);
	//gui::C_ListItem *it5 = new gui::C_ListItem(); it5->setText(L"Text 5"); it5->setTextSize(16); it5->setSize(200.0f, 20);
	//gui::C_ListItem *it6 = new gui::C_ListItem(); it6->setText(L"Text 6"); it6->setTextSize(16); it6->setSize(200.0f, 20);

	//m_guiList.addItem(it1); it1->setData(new int(1));
	//m_guiList.addItem(it2);	it2->setData(new int(2));
	//m_guiList.addItem(it3); it3->setData(new int(3));
	//m_guiList.addItem(it4); it4->setData(new int(4));
	//m_guiList.addItem(it5); it5->setData(new int(5));
	//m_guiList.addItem(it6); it6->setData(new int(6));
	//m_guiList.setCountShow(4);
}


C_GS_FusionEditor::~C_GS_FusionEditor()
{
}

void C_GS_FusionEditor::handleEvent(sf::Event e)
{
	m_guiFusion.handleEvent(e);
}
void C_GS_FusionEditor::render()
{
	m_guiFusion.render();
	//if (m_guiList.selectedItem() != nullptr)
	//{
	//	WR(*(reinterpret_cast<int*>(m_guiList.selectedItem()->data())))
	//}
}
void C_GS_FusionEditor::update()
{
	m_guiFusion.update();
}
